//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
//     Copyright (c) Telligent Systems Corporation.  All rights reserved.
// </copyright> 
//------------------------------------------------------------------------------

using System;
using System.Collections;

namespace CommunityServer.Components
{
	/// <summary>
	/// Anything object containing content 
	/// </summary>
	public interface IContent
	{
		// *********************************************************************
		//
		//  Body
		//
		/// <summary>
		/// Returns the body of the post.
		/// </summary>
		/// <remarks>
		/// The body of the post is stored in a raw format in the database.
		/// </remarks>
		//
		// ********************************************************************/
		String Body
		{
			get;
			set;
		}

		// *********************************************************************
		//
		//  FormattedBody
		//
		/// <summary>
		/// Returns a pre-formatted version of the body of the post.
		/// </summary>
		/// <remarks>
		/// The FormattedBody of the post is stored in a pre-formatted HTML.
		/// </remarks>
		//
		// ********************************************************************/
		String FormattedBody 
		{
			get;
			set;
		}

		// *********************************************************************
		//
		//  RenderedBody
		//
		/// <summary>
		/// Returns a processed version of the formatted body of the post.
		/// </summary>
		/// <remarks>
		/// The RenderedBody of the post is returned in a pre-formatted HTML.
		/// </remarks>
		//
		// ********************************************************************/
		String RenderedBody(PostTarget target);

	}
}
